home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmAddProtocolCallback.z
/
XmAddProtocolCallback
Wrap
Text File
|
1998-10-30
|
4KB
|
67 lines
XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk - A VendorShell function that adds
client callbacks for a protocol
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Protocols.h>
vvvvooooiiiidddd XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk(
WWWWiiiiddddggggeeeetttt sssshhhheeeellllllll,
AAAAttttoooommmm pppprrrrooooppppeeeerrrrttttyyyy,
AAAAttttoooommmm pppprrrroooottttooooccccoooollll,
XXXXttttCCCCaaaallllllllbbbbaaaacccckkkkPPPPrrrroooocccc ccccaaaallllllllbbbbaaaacccckkkk,
XXXXttttPPPPooooiiiinnnntttteeeerrrr cccclllloooossssuuuurrrreeee);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk adds client callbacks for a protocol.
It checks if the protocol is registered, and if it is not,
calls XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllssss. It then adds the callback to the
internal list. These callbacks are called when the
corresponding client message is received.
XXXXmmmmAAAAddddddddWWWWMMMMPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk is a convenience interface. It
calls XXXXmmmmAAAAddddddddPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkkwith the property value set to
the atom returned by interning WWWWMMMM____PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLLSSSS.
_s_h_e_l_l Specifies the widget with which the protocol
property is associated
_p_r_o_p_e_r_t_y Specifies the protocol property
_p_r_o_t_o_c_o_l Specifies the protocol AAAAttttoooommmm
_c_a_l_l_b_a_c_k Specifies the procedure to call when a protocol
message is received
_c_l_o_s_u_r_e Specifies the client data to be passed to the
callback when it is invoked
For a complete definition of VendorShell and its associated
resources, see VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll(3).
RRRREEEELLLLAAAATTTTEEEEDDDD
VVVVeeeennnnddddoooorrrrSSSShhhheeeellllllll(3), XXXXmmmmAAAAddddddddWWWWMMMMPPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk(3), XXXXmmmmIIIInnnntttteeeerrrrnnnnAAAAttttoooommmm(3),
and XXXXmmmmRRRReeeemmmmoooovvvveeeePPPPrrrroooottttooooccccoooollllCCCCaaaallllllllbbbbaaaacccckkkk(3).
Page 1 (printed 10/24/98)